﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DocumentGain.model
{
    /// <summary>
    /// MP_Message:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class MP_Message
    {
        public MP_Message()
        { }
        #region Model
        private Guid _id;
        private string _msgtype;
        private string _status;
        private string _title;
        private string _contents;
        private string _currparticipants;
        private string _userid;
        private string _instanceid;
        private string _appid;
        private string _appname;
        private string _listid;
        private string _mplistid;
        private string _formcode;
        private string _formdataid;
        private string _participantsid;
        private DateTime? _createddate;
        private string _createdby;
        private DateTime? _updateddate;
        private string _updatedby;
        private string _touserid;
        private string _tousername;
        private string _linkurl;
        private string _workitemid;
        private int _wfstatus = 0;
        private string _workflowname;
        private string _packagename;
        private string _delegant;
        private string _username;
        private string _workflowtitle;
        private string _attachmentids;
        /// <summary>
        /// 
        /// </summary>
        public Guid Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string MsgType
        {
            set { _msgtype = value; }
            get { return _msgtype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Contents
        {
            set { _contents = value; }
            get { return _contents; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CurrParticipants
        {
            set { _currparticipants = value; }
            get { return _currparticipants; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string InstanceId
        {
            set { _instanceid = value; }
            get { return _instanceid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AppId
        {
            set { _appid = value; }
            get { return _appid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AppName
        {
            set { _appname = value; }
            get { return _appname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ListId
        {
            set { _listid = value; }
            get { return _listid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string MPListId
        {
            set { _mplistid = value; }
            get { return _mplistid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FormCode
        {
            set { _formcode = value; }
            get { return _formcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FormDataId
        {
            set { _formdataid = value; }
            get { return _formdataid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ParticipantsId
        {
            set { _participantsid = value; }
            get { return _participantsid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreatedDate
        {
            set { _createddate = value; }
            get { return _createddate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreatedBy
        {
            set { _createdby = value; }
            get { return _createdby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UpdatedDate
        {
            set { _updateddate = value; }
            get { return _updateddate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UpdatedBy
        {
            set { _updatedby = value; }
            get { return _updatedby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ToUserId
        {
            set { _touserid = value; }
            get { return _touserid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ToUserName
        {
            set { _tousername = value; }
            get { return _tousername; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string LinkUrl
        {
            set { _linkurl = value; }
            get { return _linkurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string WorkItemId
        {
            set { _workitemid = value; }
            get { return _workitemid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int WFStatus
        {
            set { _wfstatus = value; }
            get { return _wfstatus; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string WorkflowName
        {
            set { _workflowname = value; }
            get { return _workflowname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PackageName
        {
            set { _packagename = value; }
            get { return _packagename; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Delegant
        {
            set { _delegant = value; }
            get { return _delegant; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string WorkflowTitle
        {
            set { _workflowtitle = value; }
            get { return _workflowtitle; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AttachmentIds
        {
            set { _attachmentids = value; }
            get { return _attachmentids; }
        }
        #endregion Model

    }
}
